<ul class="nav navbar-nav float-right">
    <li class="dropdown dropdown-user nav-item"><a class="dropdown-toggle nav-link dropdown-user-link"
                                                   href="#" data-toggle="dropdown"> <span
                class="avatar avatar-online"><img
                    src="{{auth('admin')->user()->icon}}"
                    alt="avatar"></span></a>
        <div class="dropdown-menu dropdown-menu-right">
            <div class="arrow_box_right"><a class="dropdown-item" href="#"><span
                        class="avatar avatar-online"><img
                            src="{{auth('admin')->user()->icon}}"
                            alt="avatar"><span
                            class="user-name text-bold-700 ml-1">{{auth('admin')->user()->name}}</span></span></a>
                <div class="dropdown-divider"></div>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="{{route('admin.log.logout')}}"><i class="ft-power"></i> 退出登录</a>
            </div>
        </div>
    </li>
</ul>

